package com.object_.oriented_.polymorphic;

public class Dog extends Animal {
    public void eat() {
        System.out.println("狗 吃骨头");
    }

    public void work() {
        System.out.println("狗 看家");
    }

    public void age() {
        System.out.println("狗 1岁");
    }
}
